package com.tarena.elts.service;

import java.util.List;

import com.tarena.elts.entity.ExamInfo;
import com.tarena.elts.entity.QuestionInfo;
import com.tarena.elts.entity.User;

public interface ExamService {
	User login(int id, String pwd) throws IdOrPwdException;

	ExamInfo start();

	void saveUserAnswers(int index, List<Integer> answers);

	int over();

	QuestionInfo getQuestion(int index);

	int getScore();
}
